@layout("/common/_curd/_container.html"){
<link rel="stylesheet" href="/static/webuploader/webuploader.css">
<script type="text/javascript" src="/static/webuploader/webuploader.js"></script>
<script type="text/javascript" src="/static/common/uploader.js"></script>
<script type="text/javascript" src="/static/common/uploader_limit1.js"></script>
<form data-url="${basePath}/${code}/save" method="post" class="form-horizontal" role="form">
	<!-- 表单 -->
	<div class="form-group" style="display:block;margin-top: 20px">
		<label class="col-sm-2 control-label no-padding-right"> 封面图 </label>
		<div class="col-sm-8">
			<div id="uploader-demo2">
				<input type="hidden" name="index_banner.pic" id="webuploader_limit1" >
				<!--用来存放item-->
				<div id="fileList_limit1" class="uploader-list" style="display: flex"></div>
				<div id="filePicker_limit1">选择图片</div>
			</div>
		</div>
	</div>
		<!-- 表单 -->
		@ var _table="index_banner";
		@ var _col=[
		@			  {name:"跳转到文章", index:"turn_to", type:"text",newline:true,length:8,required:"required"}
		@		   ];
		@ include("/common/_curd/_add.html", {"col":_col, "table":_table}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"新增", btn_close:"关闭"}) {}
	</form>

@}
